package com.xqx.service.impl;

import com.xqx.pojo.User;
import com.xqx.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @author：xingquanxiang createTime：2019/10/13 10:50
 * description:
 */
@Service
public class UserServiceImpl implements UserService {
    /**
     * 根据id查询
     *
     * @param id
     * @return
     */
    @Override
    public User queryById(Long id) {
        return new User();
    }

    /**
     * 新增保存用户
     *
     * @param user
     */
    @Override
    public void saveUser(User user) {
        System.out.println("新增用户。。。。。");
    }
}
